package com.mrd.shiptask_shipowner.unit_tools;

public class HttpUrlConstant {

	// 声明BASE URL常量

//	public static String SHIPBIZ_BASE_URL = "http://www.chuanhuoe.com:9090";
//	public static String BASE_URL = "http://www.56cyt.com:8281/smas_pf";
	public static String BASE_URL = "http://www.56cyt.com:8381/smas_pf";
	public static String SHIPBIZ_BASE_URL = "http://www.chuanhuoe.com:8088";
	// public static String BASE_URL = "http://192.168.1.102:8081/smas_pf";
	// public static String SHIPBIZ_BASE_URL = "http://192.168.2.132:8080";
	// public static String SHIPBIZ_BASE_URL = "http://192.168.0.223:8821";
	// public static String BASE_URL = "http://192.168.2.156:8081/smas_pf";
	// public static String SHIPBIZ_BASE_URL = "http://192.168.0.201:8080";
	/**
	 * 发版前记得更改这里的时间信息
	 */
	public static String releaseDate = "20160815";

	/**
	 * 图片
	 */
	public static String GETPICTURE = "/api/readOrderImg?aId=";
	/**
	 * 获取服务端软件版本号
	 */
	public static String VERSION_CODE = "http://56cyt.com:8088/smas_pf/appstore/version.txt";
	/**
	 * 登录
	 */
	public static final int LOGIN = 0;
	public static final String LOGIN_URL = "/m?act_flag=login";
	/**
	 * 版本检查升级
	 */
	public static final int CHECK_VERSION_AND_UPDATE = 1;
	public static final String CHECK_VERSION_AND_UPDATE_URL = SHIPBIZ_BASE_URL
			+ "/apdl/apkInfo?apkType=shipe";
	/**
	 * 获取船东资料
	 */
	public static final int INIT_CONTACT = 1001;
	public static final String INIT_CONTACT_URL = "/MatchingShipCtrl?action_flag=getContact";
	/**
	 * 获取港口资料
	 */
	public static final int INIT_PORTS_JSON = 1002;
	public static final String INIT_PORTS_JSON_URL = "/api/portsJSON";
	/**
	 * 延期
	 */
	public static final int SUBMIT_YAN_QI = 1003;
	public static final String SUBMIT_YAN_QI_URL = "/api/yanQi";
	/**
	 * 我已配货
	 */
	public static final int SUBMIT_YI_PEI_HUO = 1004;
	public static final String SUBMIT_YI_PEI_HUO_URL = "/api/hasPicking";
	/**
	 * 确认签单
	 */
	public static final int CONFIRM_SIGN_INT = 1005;
	public static final String CONFIRM_SIGN = "/api/signBill";
	/**
	 * 获取船东发布船源列表
	 */

	public static final int INIT_SHIP_ORDER_LIST = 1006;
	public static String INIT_SHIP_ORDER_LIST_URL = "/api/latest15Demands";
	/**
	 * 提交船源信息
	 */
	public static final int SHIP_ORDER = 1007;
	public static String SHIP_ORDER_URL = "/MatchingShipCtrl?action_flag=post&key=demand";
	/**
	 * 查询货运申请清单列表
	 */
	public final static int MAKE_TO_ORDER = 1008;
	public static String MAKE_TO_ORDER_URL = "/api/ship/demand-list";
	/**
	 * 接受货运申请
	 */
	public static final int AGREE_ORDER = 1009;
	public static String AGREE_ORDER_URL = "/api/ship/acceptDemand";
	/**
	 * 拒绝货运申请
	 */
	public static final int DISAGREE_ORDER = 1010;
	public static String DISAGREE_ORDER_URL = "/api/ship/refusedDemand";
	/**
	 * 查询运输合同列表
	 */
	public static final int ElECTRON_MANIFEST_LIST = 1011;
	public static final String ElECTRON_MANIFEST_LIST_URL = "/api/manifest";
	/**
	 * 接受运输合同
	 */
	public static final int AGREE_ELECTRO = 1012;
	public static String AGREE_ELECTRO_URL = "/api/ele/acceptManifest";
	/**
	 * 不同意运单合同
	 */
	public static final int DISAGREE_ELECTRO = 1013;
	public static String DISAGREE_ELECTRO_URL = "/api/ele/doubtManifest";
	/**
	 * 查询确认签单任务列表
	 */
	public static final int CONFIRMLIST = 1014;
	public static final String CONFIRMLIST_URL = "/api/willBeSignEles";
	/**
	 * 提交船东资料
	 */
	public static final int SHIP_OWNER = 1015;
	public static String SHIP_OWNER_URL = "/MatchingShipCtrl?action_flag=contact";
	/**
	 * 提交确认签单
	 */
	public static final int SUBMIT_CONRIME_ORDER = 1016;
	public static String SUBMIT_CONRIME_ORDER_URL = "/api/signBill/shipperSign";
	/**
	 * 发送token
	 */
	public static final int SUBMIT_TOKEN = 1017;
	public static String SUBMIT_TOKEN_URL = "/shipToken/save";
	/**
	 * 根据eleid和船舶id获取单独的运输合同
	 */
	public static final int TOONEELE = 1018;
	public static String TOONEELE_URI = "/api/toOneEle";
	/**
	 * 根据推送信息id获取相应的运输合同数据
	 */
	public static final int INIT_TOONEELE_BY_ID = 1019;
	public static String INIT_TOONEELE_BY_ID_URI = "/api/ele/prepViewEle";
	/**
	 * 根据推送信息id获取相应的货运申请数据
	 */
	public static final int INIT_MAKETOORDER_BY_ID = 1020;
	public static String INIT_MAKETOORDER_BY_ID_URI = "/api/ship/demand-single";
	/**
	 * 根据消息列表
	 */
	public static final int GET_MESSAGE_LIST = 1021;
	public static String GET_MESSAGE_LIST_URI = "/api/msg";
	/**
	 * 获取推送信息的数量
	 * 
	 */
	public static final int GET_MESSAGE_COUNT = 1022;
	public static String GET_MESSAGE_COUNT_URI = "/api/msgCount";
	/**
	 * 根据推送信息key获取message的taskid访问服务器，获取需要推送的具体信息
	 */
	public static final int GET_MESSAGE_BY_KEY = 1023;
	public static String GET_MESSAGE_BY_KEY_URI = "/api/getOneMsg";
	/**
	 * 获取推送信息的数量
	 * 
	 */
	public static final int SUBMIT_MESSAGE_READED = 1024;
	public static String SUBMIT_MESSAGE_READED_URI = "/api/setMsgReaded";
	/**
	 * 申请取消运输合同
	 * 
	 */
	public static final int SUBMIT_REQUEST_CANCEL_ELE = 1025;
	public static String SUBMIT_REQUEST_CANCEL_ELE_URI = "/api/applyForCancelContract";

	/**
	 * 合同撤回修改次数
	 */
	public static final int GET_ELE_QUERY_RODE_COUNT = 1026;
	public static String GET_ELE_QUERY_RODE_COUNT_URI = "/api/queryRodeCount";
}
